No need to keep complaining about this.
https://bugzilla.gnome.org/show_bug.cgi?id=791650
gboolean ret;
GError *error = NULL;
GtkPrinterCups *printer = GTK_PRINTER_CUPS (user_data);
+ static gboolean colord_warned = FALSE;
ret = cd_client_connect_finish (CD_CLIENT (source_object),
res, &error);
if (!ret)
{
- g_warning ("failed to contact colord: %s", error->message);
+ if (!colord_warned)
+ {
+ g_warning ("failed to contact colord: %s", error->message);
+ colord_warned = TRUE;
+ }
g_error_free (error);
}